﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <title>用户信息修改</title>
 <script type="text/javascript" src="../ueditor/editor_config.js"></script>
<script type="text/javascript" src="../ueditor/editor_all.js"></script>
<link rel="stylesheet" href="../ueditor/themes/default/ueditor.css"/>
 <link rel="stylesheet" rev="stylesheet" href="../css/style.css" type="text/css" media="all" />
<script language="JavaScript" type="text/javascript">

//提交并验证表单
function CheckForm()
{ 
	document.getElementById("form").action="<%= basePath%>main/addUser.action";
	document.getElementById("form").submit();
	return true;
}
function check()
{
document.getElementById("user.name").style.display="";
}
</script>
</head>
<body class="ContentBody">
 <form action="" method="post" name="form" id="form" target="mainFrame">
  <div class="MainDiv">
  <table class="CContent" border="0" cellpadding="0" cellspacing="0" width="99%">
    <tbody>
      <tr>
        <th class="tablestyle_title">用户信息修改页面</th>
      </tr>
      <tr>
        <td class="CPanel">
           <table style="width: 100%;" border="0" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td align="center"> 
			  <input name="Submit" value="修改" class="button" onclick="CheckForm()" type="button" />　 
			  <input name="Submit2" value="返回" class="button" onclick="window.history.go(-1);" type="button" /> </td>
            </tr>
            <tr>
              <td width="100%">
              <fieldset style="height: 100%;"> <legend>用户信息修改</legend>
              <table style="width: 100%;" border="0" cellpadding="2" cellspacing="1">
                <tbody>
				  <tr>
                    <td align="right" nowrap="nowrap" width="40%">原用户初始密码：</td>
                     <td><input name="user.oldpassword" class="text" style="width: 250px;" size="40" value="" type="password" /></td>
                  </tr>
				  <tr>
                    <td align="right" nowrap="nowrap" width="40%">新用户初始密码：</td>
                     <td><input name="user.newpassword" class="text" style="width: 250px;" size="40" value="" type="password" /></td>
                  </tr>
				  <tr>
                    <td style="vertical-align: center;" align="right">用户性别：</td>
					<td><select name="user.sex">
					<option value="1">男</option>
					<option value="2">女</option>
					</select>
                    </td>
                  </tr>
                  <tr>
                    <td style="vertical-align: center;" align="right">用户分类：</td>
					<td><select name="user.category">
					<option value="0">学生</option>
					<option value="1">老师</option>
					<option value="2">领导</option>
					<option value="3">部门机构</option>
					<option value="4">其他</option>
					</select>
                    </td>
					</tr>
				  <tr>
                    <td align="right" nowrap="nowrap" width="40%">用户原支付密码：</td>
                     <td><input name="user.oldpaypwd" class="text" style="width: 250px;" size="40" value="" type="password" /></td>
                  </tr>
				  <tr>
                    <td align="right" nowrap="nowrap" width="40%">新用户支付密码：</td>
                     <td><input name="user.newpaypwd" class="text" style="width: 250px;" size="40" value="" type="password" /></td>
                  </tr>
                  <tr>
                    <td align="right" nowrap="nowrap" width="40%">用户中文名：</td> 
                    <td><input name="user.chName" class="text" style="width: 250px;" size="40" type="text" />
                    </td>
                  </tr>
                  <tr>
                    <td align="right" nowrap="nowrap" width="40%">用户身份证：</td>
                    <td><input name="user.idcard" class="text" style="width: 250px;" size="40" type="text" /></td>
                  </tr>
				  <tr>
                    <td align="right" nowrap="nowrap" width="40%">用户邮箱：</td>
                    <td><input name="user.email" class="text" style="width: 250px;" size="40" type="text" /></td>
                  </tr>
                  <tr>
                    <td align="right" nowrap="nowrap" width="40%">用户联系方式:</td>
					<td><input name="user.tel" class="text" style="width: 250px;" size="40" type="text" /></td>
                  </tr>
			    </tbody>
			   </table>
				  
			  </fieldset>
			  </td>
			</tr>
	     </tbody>
		</table>
		</td>
	  </tr>
	</tbody>
  </table>
  </div>
 </form>
</body></html>